﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AltaArticle.ascx.cs" Inherits="Vista.Controls.AltaArticle" %>

<%@ Register Src="~/Controls/ModalPanel.ascx" TagPrefix="ctrl" TagName="Modal" %>
<br />
<asp:Label runat="server" CssClass="classTitul" Text="Alta Article" />
<br />
<br />
<div id="divAvisConcepte_OT" runat="server" style="color: Red; margin-top: 10px;
    margin-bottom: 10px;">
    <asp:RangeValidator ID="rvPVP" runat="server" ControlToValidate="txtpvp"
        Type="Double" Text="Format del PVP incorrecte" Display="Dynamic"
        SetFocusOnError="true" MinimumValue="0" MaximumValue="3156" />
</div>
<br />
<label class="classEsquerra"> Referència Article</label>
<asp:TextBox ID="txtReferencia" runat="server" CssClass="classEsquerra" Width="150px" />

<label class="classlabelAlta" style="width:90px; margin-left:35px;">Nom Article </label>
<asp:TextBox ID="txtNom" runat="server" CssClass="classEsquerra"  Width="150px"/>

<br />
<label class="classEsquerra" style="clear:both" >Unitats(Unitat/M^2)</label>
<asp:TextBox ID="txtUnitats" runat="server" CssClass="classEsquerra"  Width="150px"/>

<label class="classlabelAlta" style="width:90px; margin-left:35px;" >PVP</label>
<asp:TextBox ID="txtpvp" runat="server" CssClass="classEsquerra"  Width="150px"/>

<br />
<br />
<div style="margin-right: 4%">
    <asp:Button ID="btnAltaArticle" Text="Alta Article" ToolTip="Afegir un nou article"
        runat="server" CssClass="classBotonsDreta" OnClick="btnAltaArticle_Click" />
</div>

<br />
<br />

<%--Crida al control Modal--%>
<ctrl:Modal ID="mpAltaArticle" runat="server" />
